package customB;

import com.alibaba.fastjson.JSON;

import java.util.HashMap;
import java.util.Map;

public class JavaEEtest {
	public static void main(String[] args) {
		Map<String,Object> map1 = new HashMap<String, Object >();
		map1.put("seviceId","3c.pv.cre");
		map1.put("requestType","DATA");
		Map<String,String> map2 = new HashMap<>();
		map2.put("business","test");
		map2.put("parkCode","g3c3_1");
		map1.put("attributes",map2);
		String s = JSON.toJSONString(map1);
		System.out.println(s);
	}
}
